package cn.submarine;

import javax.swing.*;
import java.util.Random;

public class ObserveSubmarine extends SeaObject implements EnemyScore {

    public ObserveSubmarine() {
        super(63,19);
    }

    public void move () {
        x += speed;//向右移动
    }

    @Override
    public ImageIcon getImage() {
        return Images.obsersubm;
    }

    public int getScore(){
        return 10;//打掉侦查潜艇得10分
    }
}
